//============================================================================
// Copyright (C) 2010-2013 Brett R. Jones
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

class SoundMgr : public AudioBase
{
public:
	//=== vars ===//


    //=== constructors ===//
	SoundMgr();

	//! startup
	RCODE	Startup( BOOL bEnabled );
	//! shutdown
	void	Shutdown( void );


    //============================================================================
    //! background sound functions
    //============================================================================
	//! call to play music ( background sound )
	void MusicPlay( const char * pSndFile );
	//! call to pause music
	void MusicPause( const char * pSndFile );
	//! call to stop music
	void MusicStop( const char * pSndFile );
	//! call to set music volume
	void MusicSetVolume( float f32Volume );
    //============================================================================
    //! sound effect functions
    //============================================================================
	//! call to play sfx ( sound effect )
	void SfxPlay( const char * pSndFile );
	//! call to pause sfx
	void SfxPause( const char * pSndFile );
	//! call to stop sfx
	void SfxStop( const char * pSndFile );
	//! call to set sfx volume
	void SfxSetVolume( float f32Volume );
    //============================================================================
    //! cutscene movie functions
    //============================================================================
	//! call to play movie ( game cutscene )
	void MoviePlay( const char * pSndFile );
};
//============================================================================-
//! call function in java code SoundInterface with string param
void SoundCallJavaStringFunction( const char * pFunctionName, const char * pStringParam );
//============================================================================-
//! call function in java code SoundInterface with float param
void SoundCallJavaFloatFunction( const char * pFunctionName, float f32Param );


